﻿using System;
using System.Collections.Generic;
using System.Text;
using WebApiClient.DataAnnotations;

namespace ARchGL.Platform.Qianbian
{
    /// <summary>
    /// 项目信息 ViewModel
    /// </summary>
    [Serializable]
    public class ProjectsApiDto
    {
        /// <summary>
        /// 数据标识
        /// </summary>
        [AliasAs("id")]
        public Guid Id { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        [AliasAs("code")]
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [AliasAs("name")]
        public string Name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        [AliasAs("projectType")]
        public string Type { get; set; }
        #region 各种单位

        /// <summary>
        /// 建设单位
        /// </summary>
        [AliasAs("jsUnit")]
        public string ConstructionUnit { get; set; }
        /// <summary>
        /// 施工单位
        /// </summary>
        [AliasAs("sgUnit")]
        public string BuilderUnit { get; set; }
        /// <summary>
        /// 监理单位
        /// </summary>
        [AliasAs("jlUnit")]
        public string SupervisionUnit { get; set; }
        /// <summary>
        /// 设计单位
        /// </summary>
        [AliasAs("designUnit")]
        public string DesignUnit { get; set; }
        /// <summary>
        /// 勘察单位
        /// </summary>
        [AliasAs("surveyUnit")]
        public string TestingUnit { get; set; }

        #endregion
        /// <summary>
        /// 项目地址
        /// </summary>
        [AliasAs("projAddr")]
        public string Address { get; set; }
        /// <summary>
        /// 计划开工日期
        /// </summary>
        [AliasAs("beginDate")]
        public DateTime? PlanStartDate { get; set; }
        /// <summary>
        /// 计划竣工日期
        /// </summary>
        [AliasAs("endDate")]
        public DateTime? PlanEndDate { get; set; }
        /// <summary>
        /// 实际开工日期
        /// </summary>
        [AliasAs("realBeginDate")]
        public DateTime? ActualStartDate { get; set; }
        /// <summary>
        /// 实际竣工日期
        /// </summary>
        [AliasAs("realEndDate")]
        public DateTime? ActualEndDate { get; set; }
        /// <summary>
        /// 建筑面积
        /// </summary>
        [AliasAs("constructionArea")]
        public double? StructureArea { get; set; }
        /// <summary>
        /// 楼层
        /// </summary>
        [AliasAs("storey")]
        public int? Floor { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [AliasAs("description")]
        public string Description { get; set; }
        /// <summary>
        /// 高度
        /// </summary>
        [AliasAs("height")]
        public double? Height { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        [AliasAs("longitude")]
        public double? LocationX { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        [AliasAs("latitude")]
        public double? LocationY { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        [AliasAs("images")]
        public string Images { get; set; }
        /// <summary>
        /// 地区
        /// </summary>
        [AliasAs("district")]
        public string Area { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [AliasAs("pakTerminalNo")]
        public string PakTerminalNo { get; set; }        
    }
}
